Types and trace effects of higher order programs

نویسندگان

  • Christian Skalka
  • Scott F. Smith
  • David Van Horn
چکیده

This paper shows how type effect systems can be combined with model-checking techniques to produce powerful, automatically verifiable program logics for higher order programs. The properties verified are based on the ordered sequence of events that occur during program execution, so called event traces. Our type and effect systems infer conservative approximations of the event traces arising at run-time, and model-checking techniques are used to verify logical properties of these histories. Our language model is based on the λ-calculus. Technical results include a type inference algorithm for a polymorphic type effect system, and a method for applying known model-checking techniques to the trace effects inferred by the type inference algorithm, allowing static enforcement of historyand stack-based security mechanisms. A type safety result is proven for both unification and subtyping constraint versions of the type system, ensuring that statically well-typed programs do not contain trace event checks that can fail at run-time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Types and trace effects for object orientation

Trace effects are statically generated program abstractions, that can be model checked for verification of assertions in a temporal program logic. In this paper we develop a type and effect analysis for obtaining trace effects of Object Oriented programs in Featherweight Java. We observe that the analysis is significantly complicated by the interaction of trace behavior with inheritance and oth...

متن کامل

دگرگونی سیمای سلامت در ایران

Background and objectives: Data on transitions in health status are among the most important types of information used for promotion of health and social development. Health transition comprises two elements: demographic and epidemiologic transition. This paper depicts the health transition in I.R. Iran over the last few decades. Methods: We used demographic data gathered over the last 45 ye...

متن کامل

Algorithmic Trace Effect Analysis

Trace effect analysis empowers programmers to make assertions on the temporal sequence of atomic program events having occurred at any point in the computation of a program. A polymorphic type and effect inference system automatically extracts an abstract interpretation conservatively approximating the events and assertions that will arise at run-time. Such an interpretation can then be model-c...

متن کامل

The concentration of heavy trace elements in pigment and cholesterol humangallstones: Comparative studies by PIXE analysis.

Background: The method of proton induced X-ray emission (PIXE) has been widely used as a sensitive technique to trace elemental analysis in both biological and medical fields. The sensitivity of this powerful method is in the order of ppm .The aim of this work is to analyze structural composition of 4 heavy trace elements with Z greater than 24 (Mn, Fe, Cu, Zn) in two kinds of gallstones and to...

متن کامل

Effects of Hyperthyroidism on the Serum Levels of Vanadium and Manganese trace Elements in Rats

Introduction: Trace elements are important for the normal function of thyroid and prevention of its diseases. Normal activities of thyroid including the synthesis of thyroid hormones and regulation of metabolism are dependent on the presence of trace elements. On the other hand, thyroid hormones may also affect the trace element levels. In this study, we investigated the effects of induced h...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Funct. Program.

دوره 18  شماره 

صفحات  -

تاریخ انتشار 2008